// 我的收藏接口

import request from '../utils/request';

// 收藏查询list
export const listPage = query => {
  return request.post('/zsrencai/api/person/job/favorite/list/page', query)
}

// 收藏-删除接口
export const deleteId = query => {
  return request.post('/zsrencai/api/person/job/favorite/delete', query)
}
// 
// 收藏-申请管理-一键申请
export const deliverSave = query => {
  return request.post('/zsrencai/api/person/resume/deliver/save', query)
}

// 职位投递列表
export const deliverListPage = query => {
  return request.post('/zsrencai/api/person/resume/deliver/list/page', query)
}

// person 查询简历 再去查询推荐列表
export const getExpressResume = query => {
  return request.get(`/zsrencai/api/person/resume/get/express/${query}`, { headers: { 'Cache': 'no-cache', 'Cache-Control': 'no-cache' } })
}


// person 查询简历 再去查询列表
export const listPagesTj = query => {
  return request.post(`/zsrencai/api/person/job/list/page/`, query)
}

// person 查询简历列表 收藏
export const favoriteSave = query => {
  return request.post(`/zsrencai/api/person/job/favorite/save`, query)
}
// person 取消收藏
export const deleteFavorite = query => {
  return request.post(`/zsrencai/api/person/job/favorite/delete`, query)
}


// // 个人 查看简历列表
export const gitInterface = query => {
  return request.get(`/zsrencai/api/person/resume/selectResumeList`)
}
// 是否将该份简历设置为快速投递(推荐)
export const updateExpress = query => {
  return request.post(`/zsrencai/api/person/resume/updateExpress`, query)
}
// 简历详情获取
export const resumeDetails = query => {
  return request.get(`/zsrencai/api/person/resume/get/detail/${query}`)

}